package io.renren.modules.app.entity;

public class UserWithCarNumber {
    private UserEntity user;
    private String carNumber;

    public UserWithCarNumber() {
    }

    public UserWithCarNumber(UserEntity user, String carNumber) {
        this.user = user;
        this.carNumber = carNumber;
    }

    /**
     * 获取
     * @return user
     */
    public UserEntity getUser() {
        return user;
    }

    /**
     * 设置
     * @param user
     */
    public void setUser(UserEntity user) {
        this.user = user;
    }

    /**
     * 获取
     * @return carNumber
     */
    public String getCarNumber() {
        return carNumber;
    }

    /**
     * 设置
     * @param carNumber
     */
    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String toString() {
        return "UserWithCarNumber{user = " + user + ", carNumber = " + carNumber + "}";
    }

    // getters and setters
}
